﻿using Ecommerce.Domain;
using Ecommerce.Domain.Eunm;
using Ecommerce.Domain.Holiday;
using Ecommerce.Domain.Rabbit;
using Ecommerce.Domain.User;
using Microsoft.EntityFrameworkCore;

namespace Ecommerce.Repository
{
    public class EFContext:DbContext
    {
        public EFContext(DbContextOptions<EFContext> options):base(options) { }
        public DbSet<UseInfo> UseInfos { get; set; }

        public DbSet<Role> Roles { get; set; }
        public DbSet<Mapping> Mappings { get; set; }
        public DbSet<Ecommerce.Domain.User.County> Counties { get; set; }
        public DbSet<Ecommerce.Domain.User.City> cities { get; set; }
        public DbSet<Province> Provinces { get; set; }
        public DbSet<Account> Accounts { get; set; }
        public DbSet<Meunm> Eunms { get; set; }
        public DbSet<MenuRole> MenuRoles { get; set; }
        public DbSet<Partment> Partments { get; set; }
        public DbSet<Leave> Leaves { get; set; }

    }
}